<style type="text/css">
    .view { min-height: 300px; /* 分类搜索中无商品页面 会被overflow:hidden隐藏分类选项; */ }
</style>
<div class="g-header">
    <div class="m-header">
        <div class="g-wrap">
            <h1 class="m-header-logo"><a class="m-header-logo-link" href="#/userindex"><i class="ico ico-logo"></i></a></h1>
            <div class="m-header-toolbar">
                <!--<a class="m-header-toolbar-btn searchBtn" href="http://m.1.163.com/query.do" target="_self"-->
                   <!--title="搜索"><i class="ico ico-search"></i></a>-->
                <a class="m-header-toolbar-btn userpageBtn" href="#/orderinfo/0" title="我的夺宝"><i  class="ico ico-userpage"></i></a>
            </div>
        </div>
    </div>
    <!-- 导航栏 -->
    <div class="m-nav">
        <div class="g-wrap">
            <ul class="m-nav-list">
                <li><a href="#/userindex"><span>首页<span></span></span></a></li>
                <li class="selected"><a href="#/userallshoplist/all"><span>全部商品<span></span></span></a></li>
                <li><a href="#/orderinfo/0"><span>个人中心<span></span></span></a></li>
            </ul>
        </div>
    </div>
</div>

<div class="g-body">
    <div class="m-list">
        <!-- 二级导航 -->
        <div class="g-wrap g-body-hd m-list-nav">
            <div class="m-list-nav-catlog">
                <a href="javascript:void(0)" ng-click="navlistisshow=!navlistisshow;loadbjisshow=navlistisshow">商品分类<i class="ico ico-arrow ico-arrow-down ico-arrow-s-gray"></i></a>
            </div>
            <div class="m-list-types">
                <ul class="m-list-types-list">
                    <li class="selected renqi">
                        <a href="javascript:void(0);" ng-click="restype('renqi')">人气</a>
                    </li>
                    <li class="proportion ">
                        <a href="javascript:void(0);" ng-click="restype('proportion')">即将揭晓</a>
                    </li>
                    <li class="addtime ">
                        <a href="javascript:void(0);" ng-click="restype('addtime')">最新</a>
                    </li>
                    <li class="price">
                        <a href="javascript:void(0);" ng-click="restype('price')" data-typenow="up">价格<i class="ico ico-sort2Arrow"></i></a>
                    </li>
                </ul>
            </div>
            <!-- 所有分类列表 -->
            <div class="m-list-catlog" ng-show="navlistisshow">
                <ul class="m-list-catlog-list">
                    <li class="navlisttype" ng-class="{'selected': y.on == 1}" ng-click="onlistcatlog(y, $index)" ng-repeat="y in data.cat_list">{{y.cat_name}}</li>
                </ul>
            </div>
        </div>
        <!-- 正文 -->
        <div class="g-wrap g-body-bd">
            <div class="g-body-bd-mask" ng-show="loadbjisshow"></div>

            <!-- 商品列表 -->
            <div class="m-list-content">
                <div id="pro-view-2">
                    <ul class="w-goodsList w-goodsList-l m-list-goodsList" data-pro="entry">
                        <li class="w-goodsList-item" id="pro-view-3" ng-repeat="t in condata">
                            <a href="#/main/{{t.id}}">
                            <div class="w-goods w-goods-l w-goods-ing">
                                <i class="ico-label" ng-if="t.has_icon == 1">
                                    <img class="snatch-icon-img" src="{{t.icon}}" alt="">
                                </i>
                                <div class="w-goods-pic">
                                        <img src="{{t.logopic}}" class="">
                                </div>
                                <div class="w-goods-info">
                                    <p class="w-goods-title f-txtabb f-breakword">
                                        {{t.name}}
                                    </p>
                                    <div class="w-progressBar"><p class="wrap"><span class="bar" style="width:{{t.proportion}}%">
                                        <i class="color"></i></span></p>
                                        <ul class="txt">
                                            <li class="txt-l"><p>总需{{t.total_num}} 人次</p></li>
                                            <li class="txt-r"><p>剩余<b class="txt-blue">{{t.left_count}}</b></p></li>
                                        </ul>
                                    </div>
                                </div>
                                <div class="w-goods-shortFunc">
                                    <button class="w-button w-button-round w-button-addToCart" ng-click="addshopcar(t.id)"></button>
                                </div>
                            </div>
                            </a> </li>
                    </ul>
                    <div class="load_more" ng-hide="isloadmore">
                        正在加载中...
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<a class="w-miniCart" href="#/shopcar/{{0}}" id="pro-view-1">
    <span class="w-miniCart-text">清单</span>
    <i class="ico ico-miniCart"></i>
    <b class="w-miniCart-count" ng-show="shopcarnum > 0">{{shopcarnum}}</b>
</a>

<totop></totop>
<loading loadisshow="ctrlisloadshow"></loading>
<dialog isdialogshow="isdialogshow" dialogtext="{{dialogtext}}"></dialog>
